var ioc = {
	/**
	 * 读取配置文件信息的对象
	 */
	config : {
		type : "org.nutz.ioc.impl.PropertiesProxy",
		fields : {
			paths : [ "config/datasource.properties" ]
		}
	},
	/**
	 * 数据库操作对象
	 */
	dao : {
		type : "org.nutz.dao.impl.NutDao",
		args : [ {
			refer : "dataSource"
		}, {
			refer : "sqlManager"
		} ]
	},
	/**
	 * 数据源对象
	 */
	dataSource : {
		type : "com.alibaba.druid.pool.DruidDataSource",
		fields : {
			url : {java:'$config.get("url")'},
			username : {java:'$config.get("username")'},
			password : {java:'$config.get("password")'}
		},
		events : {
			depose : "close"
		}
	},
	/**
	 * 读取SQL配置文件的对象
	 */
	sqlManager : {
		type : "org.nutz.dao.impl.FileSqlManager",
		args : [ "/sqls" ]
	}
};